package io.mybatis.example.springboot.model;

import io.mybatis.provider.Entity;
import org.apache.ibatis.type.JdbcType;

import lombok.Getter;
import lombok.Setter;


/**
 * QRTZ_SIMPLE_TRIGGERS - 简单触发器的信息表
 *
 * @author mkj
 */
@Getter
@Setter
@Entity.Table("QRTZ_SIMPLE_TRIGGERS" remark = "简单触发器的信息表", autoResultMap = true)
public class QrtzSimpleTriggersDO {
  @Entity.Column(value = "sched_name", id = true, remark = "调度名称", updatable = false, insertable = false)
  private String schedName;

  @Entity.Column(value = "trigger_name", id = true, remark = "qrtz_triggers表trigger_name的外键", updatable = false, insertable = false)
  private String triggerName;

  @Entity.Column(value = "trigger_group", id = true, remark = "qrtz_triggers表trigger_group的外键", updatable = false, insertable = false)
  private String triggerGroup;

  @Entity.Column(value = "repeat_count", remark = "重复的次数统计")
  private Long repeatCount;

  @Entity.Column(value = "repeat_interval", remark = "重复的间隔时间")
  private Long repeatInterval;

  @Entity.Column(value = "times_triggered", remark = "已经触发的次数")
  private Long timesTriggered;

}
